Functions Summary | |
---|---|
bool | cot_file_check(string path, string name, string ext) Checks a file to be sure it is valid |
int | Returns maximum size for uploaded file, in KiB (allowed in php.ini, and may be allowed in .htaccess) |
static string | cot_safename(string basename, bool underscore, string postfix) Strips all unsafe characters from file base name and converts it to latin |
public bool cot_file_check(string path, string name, string ext)
public int cot_get_uploadmax()
public static string cot_safename(string basename, bool underscore, string postfix)